Important: The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
[ no ] match as-path AS_listThis command is used for BGP-4 routing to specify an AS path access list to be matched. Refer to the ip as-path access-list command for more information.To match entries in an AS path access list named ASlist1, enter the following command;[ no ] match interface interface-nameTo match routes that have the next hop interface specified as Interface123, enter the following command:To disable matching routes that have the next hop interface specified as Interface123, enter the following command:To match routes that are specified in a prefix list named Prefix100, enter the following command:To disable matching routes that are specified in a prefix list named Prefix100, enter the following command:To match next-hop addresses with entries in a prefix-list named Prefix100, enter the following command:To disable matching next-hop addresses with entries in a prefix-list named Prefix100, enter the following command:[ no ] match metric metric_valueTo match routes with the route metric of 1200, enter the following command:To disable matching routes with a route metric of 1200, enter the following command:[ no ] match tag tag_valueAS number(s) to be prepended to the AS path. You can specify up to 16 different AS numbers to be prepended in the order specified. Each AS number must be separated by a space. ASN must be an integer from 1 through 65535.[ no ] set ip next-hop ip_addressTo set the next hop for routes to the IP address 192.168.2.100, use the following command:To disable setting the next hop for routes to the IP address 192.168.2.100, use the following command:[ no ] set metric metric_valueTo set the route metric to 12345, use the following command;To disable setting the route metric to 12345, enter the following command;[ no ] set tag tag_valueTo set the route tag value to 12345, enter the following command:To disable setting the route tag value to 12345, enter the following command:[ no ] set weight value
|
| Cisco Systems Inc. |
| Tel: 408-526-4000 |
| Fax: 408-527-0883 |